function loggerMiddleware(store) {
  console.log('222');
  return function (next) {
    return function (action) {
      console.log('dispatch 111 start');
      next(action);
      console.log('dispatch 111 end');
      console.log(
        'loggerMiddleware: 最新年龄',
        store.getState().counterReducer.age
      );
    };
  };
}
export default loggerMiddleware;
